<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>简约书评网登录</title>
<script type="text/javascript" src="js/bootstrap5/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="js/bootstrap5/bootstrap.min.js"></script>
<link href="css/bootstrap5/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/bootstrap-icons.min.css">
<link rel="stylesheet" href="css/login.css">
</head>
<body>
	<div class="container-fluid vh-100" style="margin-top:50px">
            <div class="" style="margin-top:50px">
                <div class="rounded d-flex justify-content-center">
                    <div class=" col-md-4 col-sm-12 shadow-lg p-5 bg-light bg-opacity-75">
                        <div class="text-center">
                            <h3 class="text-primary">登录</h3>
                        </div>
                        <div class="p-4">
                        <form method="post" action="user/login">
                            <div class="input-group mb-3">
                                <span class="input-group-text bg-secondary"><i
                                        class="bi bi-person-fill text-white"></i></span>
                                <input type="text" name="username" class="form-control" placeholder="用户名">
                            </div>
                            <div class="input-group mb-3">
                                <span class="input-group-text bg-secondary"><i
                                        class="bi bi-key-fill text-white"></i></span>
                                <input type="password" name="password" class="form-control" placeholder="密码">
                            </div>
                           
                            <div class="col-12">
                                <a href="registerForm.jsp">还未注册，去注册</a><button type="submit" class="btn btn-primary px-4 float-end mt-4">登录</button>
                            </div>
 						</form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
</body>
</html>